<template>
	<view>
		<uni-card :title="title" :isFull="true" :sub-title="setting" extra="" :thumbnail="avatar">
			<text class="uni-body">
				
			</text>
			
			<view slot="actions" class="card-actions">
				<view class="card-actions-item" @click="actionsClick()">
					<uni-icons type="pengyouquan" size="18" color="#999"></uni-icons>
					<text class="card-actions-item-text">设置</text>
				</view>

			</view>
		</uni-card>
		
		
		
		<!-- 普通弹窗 -->
				
	</view>
</template>

<script>
	export default {
		props:[
			"title",
			"avatar",
			"setting"
		],
		name:"fileList",
		data() {
			return {
				
			};
		},
		methods:{
			change(){
				
			},
			actionsClick(){
				
			},
			actionsClick(type) {
				this.type = type
				// open 方法传入参数 等同在 uni-popup 组件上绑定 type属性
				this.$refs.popup.open("bottom")
			},
		}
	}
</script>

<style>

</style>